// @ts-nocheck
import React from 'react';
import { ApplyPluginsType, dynamic } from 'C:/Users/Xiangxiang/Desktop/备份/four-group/项目代码/bw_Ttraining_platform/node_modules/_@umijs_runtime@3.5.4@@umijs/runtime';
import * as umiExports from './umiExports';
import { plugin } from './plugin';
import LoadingComponent from '@/Loading';

export function getRoutes() {
  const routes = [
  {
    "path": "/",
    "component": dynamic({ loader: () => import(/* webpackChunkName: 'layouts__index' */'@/layouts/index.tsx'), loading: LoadingComponent}),
    "routes": [
      {
        "path": "/catch/catch",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__catch__catch' */'@/pages/catch/catch.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/chat",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__chat' */'@/pages/chat.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/login/Login",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__login__Login' */'@/pages/login/Login.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/addplan/addplan",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__addplan__addplan' */'@/pages/student/addplan/addplan.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/defence/addDefence",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__defence__addDefence' */'@/pages/student/defence/addDefence.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/defence/defence",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__defence__defence' */'@/pages/student/defence/defence.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/defence/scoreHistory/:defenceId",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__defence__scoreHistory__defenceId' */'@/pages/student/defence/scoreHistory/[defenceId].tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/interView/addInterView",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__interView__addInterView' */'@/pages/student/interView/addInterView.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/interView/interviewList",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__interView__interviewList' */'@/pages/student/interView/interviewList.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/interView/interviewManage",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__interView__interviewManage' */'@/pages/student/interView/interviewManage.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/interView/interviewRecord",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__interView__interviewRecord' */'@/pages/student/interView/interviewRecord.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/interView/rankList",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__interView__rankList' */'@/pages/student/interView/rankList.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/manage/answerDetail/answerDetail",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__manage__answerDetail__answerDetail' */'@/pages/student/manage/answerDetail/answerDetail.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/manage/manage",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__manage__manage' */'@/pages/student/manage/manage.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/myProject/myProject",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__myProject__myProject' */'@/pages/student/myProject/myProject.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/planList/planList",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__planList__planList' */'@/pages/student/planList/planList.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/proManagement/addProject",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__proManagement__addProject' */'@/pages/student/proManagement/addProject.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/proManagement/proManagement",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__proManagement__proManagement' */'@/pages/student/proManagement/proManagement.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/question/answerDetail/:answerId",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__question__answerDetail__answerId' */'@/pages/student/question/answerDetail/[answerId].tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/question/questionDetail",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__question__questionDetail' */'@/pages/student/question/questionDetail.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/studentSkill/studentSkill",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__studentSkill__studentSkill' */'@/pages/student/studentSkill/studentSkill.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/training/training",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__training__training' */'@/pages/student/training/training.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/userInfo/needHandle",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__userInfo__needHandle' */'@/pages/student/userInfo/needHandle.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/student/userInfo/teacherPersonCenter",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__student__userInfo__teacherPersonCenter' */'@/pages/student/userInfo/teacherPersonCenter.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/addplan/addplan",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__addplan__addplan' */'@/pages/teachers/addplan/addplan.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/addPostSkill",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__addPostSkill' */'@/pages/teachers/addPostSkill.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/defence/addDefence",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__defence__addDefence' */'@/pages/teachers/defence/addDefence.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/defence/defence",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__defence__defence' */'@/pages/teachers/defence/defence.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/defence/scoreHistory/:defenceId",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__defence__scoreHistory__defenceId' */'@/pages/teachers/defence/scoreHistory/[defenceId].tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/interView/interviewList",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__interView__interviewList' */'@/pages/teachers/interView/interviewList.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/interView/interviewManage",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__interView__interviewManage' */'@/pages/teachers/interView/interviewManage.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/interView/interviewRecord",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__interView__interviewRecord' */'@/pages/teachers/interView/interviewRecord.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/interView/rankList",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__interView__rankList' */'@/pages/teachers/interView/rankList.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/manage/answerDetail/answerDetail",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__manage__answerDetail__answerDetail' */'@/pages/teachers/manage/answerDetail/answerDetail.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/manage/manage",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__manage__manage' */'@/pages/teachers/manage/manage.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/planList/planList",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__planList__planList' */'@/pages/teachers/planList/planList.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/planList",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__planList' */'@/pages/teachers/planList.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/postSkill",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__postSkill' */'@/pages/teachers/postSkill.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/proManagement/addProject",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__proManagement__addProject' */'@/pages/teachers/proManagement/addProject.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/proManagement/proManagement",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__proManagement__proManagement' */'@/pages/teachers/proManagement/proManagement.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/question/answerDetail/:answerId",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__question__answerDetail__answerId' */'@/pages/teachers/question/answerDetail/[answerId].tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/question/questionDetail",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__question__questionDetail' */'@/pages/teachers/question/questionDetail.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/training/training",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__training__training' */'@/pages/teachers/training/training.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/userInfo/needHandle",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__userInfo__needHandle' */'@/pages/teachers/userInfo/needHandle.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/userInfo/teacherPersonCenter",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__userInfo__teacherPersonCenter' */'@/pages/teachers/userInfo/teacherPersonCenter.tsx'), loading: LoadingComponent})
      }
    ]
  }
];

  // allow user to extend routes
  plugin.applyPlugins({
    key: 'patchRoutes',
    type: ApplyPluginsType.event,
    args: { routes },
  });

  return routes;
}
